<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>  

<!--lista_errori.jsp-->
	
<c:if test="${not empty requestScope.listaErrori }" >
<div class="ui-widget" style="width:970px;margin-top:16px;">
	<div class="ui-state-error ui-corner-all" style="padding: 0.7em;"> 
	<c:forEach var="e" items="${requestScope.listaErrori}" >
		<div><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
		<span style="color:red;"><strong>Errore:</strong> <c:out value="${e.label}" /></span>
		</div>
	</c:forEach>
	</div>
</div>
</c:if>


<c:if test="${not empty requestScope.listaOk }" >
<%-- 	<c:if test="${viewOK == 'true'}"> --%>
<div class="ui-widget" style="width:970px;margin-top:16px;">
	<div class="ui-state-error ui-corner-all" style="padding: 0.7em;border-color:green;display:inline-table;margin-bottom:20px;"> 
			<c:forEach var="e" items="${requestScope.listaOk}" >
			<div style="float:left;margin-bottom:3px;">
				<img style="float: left; margin-right: 6px;" src="<%=request.getContextPath()%>/images/ok.png" class="inline">
           <span style="line-height: 19px; color: green;"> <c:out value="${e.label}" /> </span></div>
			</c:forEach>
	</div>
</div>
</c:if>
	
	
